﻿@{
    Layout = null;
    ViewBag.Title = "Home Page";
}
<!DOCTYPE html>

<html style="height:100%;min-height:600px;min-width:800px;border:0;padding:0;margin:0;">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
    <meta name="viewport" content="width=device-width" />
    <title>登陆</title>

    
    <script type="text/javascript" src="/Scripts/jquery.min.js" )"></script>
    <script type="text/javascript">

        $(document).ready(function () {


            var hdjsAlert = $("#hdMessage").val();
            if (hdjsAlert != "") {
                alert(hdjsAlert);
            };
        })
    </script>
</head>
<body style="FILTER:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr=#3187A8, endColorstr=#463C78);-ms-filter:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr=#3187A8, endColorstr=#463C78);
background:-webkit-linear-gradient(top,#3187A8,#463C78);background:-ms-linear-gradient(top,#3187A8,#463C78);margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px;">

    @using (Html.BeginForm("Login", "Home", FormMethod.Post, new { id = "form1" }))
    {
        <div style="margin-left:auto;margin-right:auto;margin-top:100px;border: solid #dedede; background-color:white;width:384px;height:442px">
            <table width="100%" align="center" height="402" border="0" cellpadding="0" cellspacing="0" style="padding:20px">

                <tr>
                    <td height="70" align="center" colspan="2"><img src="@Url.Content("~/images/login.png")" /></td>
                </tr>
                <tr>
                    <td height="50" align="center" colspan="2"><strong style="font-size:26px;line-height:50px; font-weight:700; color:#37588B;">后台管理</strong></td>
                </tr>
                <tr>
                    <td height="35" align="left" style=" padding-left:45px" colspan="2"><label style="color:#747474;line-height:30px">用户名</label></td>
                </tr>
                <tr>
                    <td height="30" align="left" style=" padding-left:45px" colspan="2"><input name="txtUserName" type="text" style="border: 1px solid #cacaca; width:254px;height:30px" class="in" id="txtUserName" title="用户名"></td>
                </tr>
                <tr>
                    <td height="35" align="left" style=" padding-left:45px" colspan="2"><label style="color:#747474;line-height:30px">密码</label></td>
                </tr>
                <tr>
                    <td height="30" align="left" style=" padding-left:45px" colspan="2"><input name="txtPassword" type="password" style="border: 1px solid #cacaca; width:254px;height:30px" class="in" id="txtPassword" title="密码"></td>
                </tr>
                <tr>
                    <td height="35" align="left" style=" padding-left:45px" colspan="2"><label style="color:#747474;line-height:30px">验证码</label></td>
                </tr>
                <tr>
                    <td height="38" valign="top" align="left" style=" padding-left:45px" colspan="1" width="150px"><input name="ValCode" type="text" style="border: 1px solid #cacaca; width:120px;height:30px;" class="in" id="ValCode" title="验证码"></td>
                    <td height="38" valign="top"><img width="80" height="34" src="@Url.Action("GetValidateCodeImage", "Home")" /></td>
                </tr>
                <tr>
                    <td colspan="2" height="80" align="center">

                        <input type="submit" name="imgLogin" style=" background-color:#37588B; color:white; text-align:center;height:44px;width:275px; border-radius:3px; border-color:#1b9848; border-width:1px; border-style:solid;font-size:16px;" id="imgLogin" value="登陆" class="dl">

                    </td>

                </tr>
            </table>

        </div>
        @Html.Hidden("hdMessage", ViewData["message"])
    }
</body>
</html>